package com.pedro.streamer.manager;

import androidx.lifecycle.MutableLiveData;

public class FilterStatusManager {

    private MutableLiveData<Boolean> tornadoStatusData = new MutableLiveData<>();

    private MutableLiveData<Integer> stickerSourceData = new MutableLiveData<>();
    static class Singleton {
        static final FilterStatusManager INSTANCE = new FilterStatusManager();
    }
    public static FilterStatusManager getInstance() {
        return Singleton.INSTANCE;
    }

    public MutableLiveData<Boolean> getTornadoStatusData() {
        return tornadoStatusData;
    }


    public MutableLiveData<Integer> getStickerSourceData() {
        return stickerSourceData;
    }

    public void setTornadoStatus(Boolean tornadoStatus) {
        this.tornadoStatusData.postValue(tornadoStatus);
    }

    public void setStickerSource(Integer imgSource) {
        this.stickerSourceData.postValue(imgSource);
    }

}
